package com.you.atlas.biz.place.service.impl;

import com.you.atlas.biz.place.service.SmallNoteQueryService;
import com.you.common.ibatis.data.DataList;
import com.you.place.dal.dao.SmallNoteDAO;

public class SmallNoteQueryServiceImpl implements SmallNoteQueryService {

    private SmallNoteDAO smallNoteDAO;

    public void setSmallNoteDAO(SmallNoteDAO smallNoteDAO) {
        this.smallNoteDAO = smallNoteDAO;
    }

    @Override
    public DataList queryByUseFul(Long placeId, int pageNo, int pageSize) {
        return smallNoteDAO.queryByUseFul(placeId, pageNo, pageSize);
    }

    @Override
    public DataList queryByTime(Long placeId, int pageNo, int pageSize) {
        return smallNoteDAO.queryByUseFul(placeId, pageNo, pageSize);
    }
}
